package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 邮件校验状态
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/6/8 18:11
 */
@Getter
@ToString
public enum SmtpValidateStatusEnum {
    /**
     * 未验证
     */
    UNVERIFIED("未验证", 0),
    /**
     * 验证通过
     */
    VERIFYSUCCESS("验证通过", 1),
    /**
     * 验证失败
     */
    VERIFYFAIL("验证失败", 2);

    private final String name;

    private final int index;

    SmtpValidateStatusEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }
}
